package me.pplay.playtalk.data;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

import me.pplay.playtalk.bean.Chat;
import me.pplay.playtalk.protocol.bean.TPBuddyinfo;
import android.os.Environment;

public class Globals {
	/**********file path******************/
	public static final String FILE_PATH 				= Environment.getExternalStorageDirectory() + File.separator;
	public static final String FILE_PATH_HOME 			= FILE_PATH + "PlayTalk/";
	public static final String FILE_PATH_CACHE 			= FILE_PATH_HOME + "cache/";
	public static final String FILE_PATH_CACHE_IMAGE 	= FILE_PATH_CACHE + "images/";
	public static final String FILE_PATH_CACHE_FILE 	= FILE_PATH_CACHE + "file/";
	public static final String FILE_PATH_MULTIMEDIA		= FILE_PATH_HOME + "media/";
	public static final String FILE_PATH_IMAGE			= FILE_PATH_MULTIMEDIA + "images/";
	public static final String FILE_PATH_VIDEO			= FILE_PATH_MULTIMEDIA + "video/";
	public static final String FILE_PATH_AUDIO			= FILE_PATH_MULTIMEDIA + "audio/";
	public static final String FILE_PATH_PHB			= FILE_PATH_MULTIMEDIA + "phb/";
	
	public static final int SETADAPTER 					= 10;
	public static final int SETMESSAGE_CHANGE 			= 11;
	public static final int SETMESSAGE_GROUP_CHANGE 	= 12;
	public static final int SETTING_NEW_CONFERENCE_NAME = 13;
	public static final int SETMESSAGE_RECVIE_SMS		= 14;
	public static final int SETMESSAGE_UPDATEPBK		= 15;
	/*******Log control***********/	
    public static final  boolean LOGOFF					= false;
    public static final  boolean LOGOFF_VERBOSE			= false;
    public static final  boolean LOGOFF_DEBUG			= false;
    
//    public static boolean isFilpMain 					= true;
    public static boolean isMessageLoginOn				= false;
    
    public static String token=null;
    public static int skyid=-1;
    public static String ChatIpString=null;
    public static String ChatRoomIpString=null;
    public static String FileIpString=null;
    public static int ChatPort=0;
    public static int ChatRoomPort=0;
    public static int  FilePort=0;

    public static TPBuddyinfo myInfo = null;
    
    /****************屏幕参数*********************/
    public static int width 	= 0;
    public static int height 	= 0;
    public static float density = 0;
    
    public static List<Chat> groupList = new ArrayList<Chat>();  //chat.type = 5
    public static boolean isRegisterReceiver 		= false;;
};
